#include <iostream>
#include <list>
#include "flower.hpp"
int main() {
    using namespace std;
    int lower,upper;
    list<int> l;
    list<int>::iterator iter;
    int c = 0;
    while(c<2)
    {
        c += 1;
        cin>>lower>>upper;
        l.push_back(lower);
        l.push_back(upper);
    }
    for(iter = l.begin();iter!=l.end()--;iter++)
    {
        lower = *iter;
        upper = *(++iter);
//        cout<<"lower: "<<lower<<" upper:"<<upper<<endl;
        flower f1(lower,upper);
//        cout<<"lower: "<<f1.get_a()<<" upper:"<<f1.get_b()<<endl;
        f1.get_flower();
    }

    return 0;
}